Skip to content

Add market data demo and code review#48

Open
joeymaza wants to merge 2 commits intoed-donner:mainfrom
joeymaza:review/market-data
Open

Add market data demo and code review#48
joeymaza wants to merge 2 commits intoed-donner:mainfrom
joeymaza:review/market-data

Conversation

@joeymaza
Copy link
Copy Markdown

@joeymaza joeymaza commented May 6, 2026

Summary

  • Adds backend/market_demo.py — a lightweight streaming CLI demo that uses the create_market_data_source factory, so it works with both the GBM simulator (default) and the Massive API if MASSIVE_API_KEY is set. Prints ANSI-colored price updates per tick and a session summary on exit.
  • Adds planning/MARKET_DATA_REVIEW.md — a code review of the market data subsystem.

Test plan

  • Run /.sprite/bin/python3 market_demo.py from backend/ and verify 10 tickers stream for 30s with green/red/dim color coding
  • Verify session summary prints on exit with seed vs final prices

🤖 Generated with Claude Code

Sprite and others added 2 commits May 5, 2026 13:52
Comprehensive review of backend/app/market/ covering all 8 modules and
73 tests. Documents findings on SSE test coverage gap, stream router
singleton bug, and minor interface asymmetries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ta source

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant